package gaml.java;


/**
 * implementation of this class creates
 * instance of serializer, parametrized with 
 * generic type T 
 * @author shnireck
 *
 * @param <T> type of serializer instance to create
 */
public interface SerializerFactory {
	
	/** create new instance of serializer for
	 * generic type T
	 * @param clazz java class for type T
	 * @return serializer instance
	 */
	public <T> ClassSerializer <T> create (Class <T> clazz);
}
